#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>

QT_BEGIN_NAMESPACE
namespace Ui { class MainWindow; }
QT_END_NAMESPACE

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    MainWindow(QWidget *parent = nullptr);
    ~MainWindow();

protected:
    bool eventFilter(QObject *target, QEvent *event);
    void keyPressEvent(QKeyEvent *event);
    void keyReleaseEvent(QKeyEvent *event);


private slots:

    void on_textEdit_textChanged();

    void on_comboBox_activated(int index);

private:
    Ui::MainWindow *ui;
    bool submitIdea();
    bool showIdeas(QString dirname);
    bool showDays();

};
#endif // MAINWINDOW_H
